const program = require('commander')

program
  .version('0.0.1')
  .description('a test cli program')
  .option('-n, --name <name>', 'you name')
  .option('-a, --age <age>', 'you age')
  .option('-e, --enjoy [enjoy]')
  .action(option => {
    console.log(`name: ${option.name}`)
    console.log(`age: ${option.age}`)
    console.log(`enjoy: ${option.enjoy}`)
  })

program.parse(process.argv)
